package top.layne.cloud.tsf.consumer.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestParam;
import top.layne.cloud.tsf.api.entity.BmsCoupon;

import java.util.List;

/**
 * @author : layne
 * @Date: 2020/7/27
 * @Time: 11:19
 * Description:
 */
@FeignClient("layne-cloud-tsf-database")
public interface CouponService {

    @GetMapping("/coupon/getCouponList")
    List<BmsCoupon> getCouponList(@RequestParam Integer pageNum, @RequestParam Integer pageSize);
}
